home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / makefile.dos < prev    next >
Makefile  |  1994-10-21  |  724b  |  48 lines

  1. CFLAGS=-O2
  2.  
  3. .c.o :
  4.     gcc $(CFLAGS) -I. -I../include -c $<
  5.  
  6. all : libbfd.a
  7.  
  8. targets.o : targets.c
  9.     gcc $(CFLAGS) -I. -I../include -DSELECT_VECS=&go32coff_vec,&i386aout_vec -DDEFAULT_VECTOR=go32coff_vec -c $*.c
  10.  
  11. archures.o : archures.c
  12.     gcc $(CFLAGS) -I. -I../include -DSELECT_ARCHITECTURES=bfd_i386_arch -c $*.c
  13.  
  14. OBJS = \
  15.     libbfd.o \
  16.     opncls.o \
  17.     bfd.o \
  18.     archive.o \
  19.     targets.o \
  20.     cache.o \
  21.     archures.o \
  22.     core.o \
  23.     section.o \
  24.     format.o \
  25.     syms.o \
  26.     reloc.o \
  27.     init.o \
  28.     coffgen.o \
  29.     srec.o \
  30.     hash.o \
  31.     linker.o \
  32.     ecoff.o \
  33.     ecofflink.o \
  34.     elf.o \
  35.     aout32.o \
  36.     stab-sym.o \
  37.     i386aout.o \
  38.     cpu-i386.o \
  39.     coff-go32.o \
  40.     cofflink.o \
  41.     elf32.o \
  42.     $E
  43.  
  44. libbfd.a : $(OBJS)
  45.     -rm libbfd.a
  46.     ar rvs libbfd.a $(OBJS)
  47.     ranlib libbfd.a
  48.